//
//  UILabel+Extension.swift
//  Weibo
//
//  Created by 杨雨哲 on 15/7/2.
//  Copyright © 2015年 yyz. All rights reserved.
//

import UIKit

extension UILabel {
    
    convenience init(color: UIColor, fontSize:CGFloat, multiLines:Bool = false){
        self.init()
        
        textColor = color
        font = UIFont.systemFontOfSize(fontSize)
        
        if multiLines{
            
            numberOfLines = 0
        }
        
    }
    
}
